<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>首页</title>
<meta name="decorator" content="cms_default_${site.theme}" />
<meta name="description" content=" ${site.description}" />
<meta name="keywords" content="${site.keywords}" />
<!-- 加载openlayer js -->
<link rel="stylesheet"
	href="https://openlayers.org/en/v4.3.4/css/ol.css" type="text/css">

<link rel="stylesheet" type="text/css"
	href="${ctxStatic}/openlayers/ol.css" />
<script src="${ctxStatic}/openlayers/ol.js" type="text/javascript"></script>

<style>
.map {
	height: 542px;
	width: 100%;
}
</style>
</head>
<body>
	<div class="content">
		<!--地图部分-->
		<div class="mapbox">
			<div class="mapdiv">
				<img class="mapimg" src="${ctxStatic}/qxfw/tour/img/map.png" />
				<div class="menu-bar">
					<div class="header">
						<div class="center">
							<ul class="selul">
								<li class="on"><span>实况</span></li>

								<li class="weather-situation"><span>预报</span></li>

								<li class="weather-forecast"><span>作物分布</span></li>

								<li><span>生长情况</span></li>
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!-- 气象法规、气象科普、站台风貌部分-->
		<div class="popbox">
			<div class="infodiv">
				<p class="infodiv-p">工作动态</p>
				<div class="infodiv-top">
					<img class="top-pic" src="${ctxStatic}/qxfw/tour/img/right-top.png" />
				</div>
				<div class="boxtalk">
					<img class="top-pic2" src="${ctxStatic}/qxfw/tour/img/boxsslk.png" /><a class="top-a"
						href="##">学生初步规划基础不好打车出</a>
				</div>
				<div class="infodiv-down">
					<p>技术的黄金时代换届大会</p>
					<p>技术的黄金时代换届大会</p>
					<p>技术的黄金时代换届大会</p>
				</div>
			</div>
		</div>
		<!--热门景点-->
		<div class="hot-spots">
			<div class="center">
				<ul class="six-pla">
					<li style="margin-left:4px;">
						<div class="titbox2">
							<h3>STATION STYLE</h3>
							<h4>气象法律法规</h4>
							<img class="ico1" src="${ctxStatic}/qxfw/tour/img/bico_r1_c1.png" /> <img class="ico2"
								src="${ctxStatic}/qxfw/tour/img/bico_r1_c7.png" />
							<div class="qxkp">
								<p class="qx-p">
									<a href="##">很简单接口是否合适的编程技术代表厂家就觉表厂家就觉表厂家就觉</a>
								</p>
								<br />
								<p class="qx-p">
									<a href="##">很简单接口是否合适的编程技术代表厂家就觉表厂家就觉表厂家就觉</a>
								</p>
								<br />
								<p class="qx-p">
									<a href="##">很简单接口是否合适的编程技术代表厂家就觉表厂家就觉表厂家就觉</a>
								</p>
								<br />
								<p class="qx-p">
									<a href="##">很简单接口是否合适的编程技术代表厂家就觉表厂家就觉表厂家就觉</a>
								</p>
								<br />
								<p class="qx-p">
									<a href="##">很简单接口是否合适的编程技术代表厂家就觉表厂家就觉表厂家就觉</a>
								</p>
								<br />
							</div>
						</div>
					</li>
					<li><img class="down-pic" src="${ctxStatic}/qxfw/tour/img/pl1.png" alt="" /></li>
					<li>
						<div class="titbox2">
							<h3>METEOROLOGICAL SCIENCE</h3>
							<h4>气象科普</h4>
							<img class="ico1" src="${ctxStatic}/qxfw/tour/img/bico_r1_c1.png" /> <img class="ico2"
								src="${ctxStatic}/qxfw/tour/img/bico_r1_c7.png" />
							<div class="qxkp">
								<p class="qx-p">
									<a href="##">很简单接口是否合适的编程技术代表厂家就觉表厂家就觉表厂家就觉</a>
								</p>
								<br />
								<p class="qx-p">
									<a href="##">很简单接口是否合适的编程技术代表厂家就觉表厂家就觉表厂家就觉</a>
								</p>
								<br />
								<p class="qx-p">
									<a href="##">很简单接口是否合适的编程技术代表厂家就觉表厂家就觉表厂家就觉</a>
								</p>
								<br />
								<p class="qx-p">
									<a href="##">很简单接口是否合适的编程技术代表厂家就觉表厂家就觉表厂家就觉</a>
								</p>
								<br />
								<p class="qx-p">
									<a href="##">很简单接口是否合适的编程技术代表厂家就觉表厂家就觉表厂家就觉</a>
								</p>
								<br />
							</div>
						</div>
					</li>
					<li style="margin-left: 4px;margin-top: 17px;"><img class="down-pic" src="${ctxStatic}/qxfw/tour/img/pl2.png" alt="" /></li>
					<li style="margin-top: 17px;">
						<div class="titbox2">
							<h3>STATION STYLE</h3>
							<h4>台站风貌</h4>
							<img class="ico1" src="${ctxStatic}/qxfw/tour/img/bico_r1_c1.png" /> <img class="ico2"
								src="${ctxStatic}/qxfw/tour/img/bico_r1_c7.png" />
							<p class="tzfm">
								测震台网，其作用是测定国内外地震发生的时间、地点和震级大小。资料提供搞基础研究和地震预报的人员进行研究。这类台站的布设采用均匀布台的方式，台站越密则可测到地震的下限震级就越小，台网定位精度也越高。
								前兆观测台网是以观测震前各类异常现象为目的的台网。</p>
						</div>
					</li>
					<li style="margin-top: 17px;"><img class="down-pic" src="${ctxStatic}/qxfw/tour/img/pl3.png" alt="" /></li>
				</ul>

			</div>
		</div>
	</div>
</body>

<script type="text/javascript">
		$(function(){
			//轮播
		    $(".flexslider1").flexslider({
		        animation: "slider",
		        slideshowSpeed: 3000,
		        directionNav: true,	
		        pauseOnHover: true,   
		    });
		    
		    $(".flexslider2").flexslider({
		        animation: "slider",
		        slideshowSpeed: 3000,
		        directionNav: true,		
		        pauseOnHover: true, 		        
		    });
			
			$('.selul li').click(function(){
				$('.selul li').removeClass('on');
				$(this).addClass('on');				
				$("html,body").animate({"scrollTop":"500px"},500);
			})
			/* 地图右上侧点击图标后样式 */
			$('.popright-ul li').click(function(){
				$('.popright-ul li').removeClass('out-border');
				$(this).addClass('out-border');				
			})
			$(document).scroll(function(){
		       if ($(document).scrollTop()>99) {
		       	   /* $('.header').css({position:'fixed',top:0}); */
		       } else{
		   	       $('.header').css({position:'relative'});
		       }
		    });
		    $('.spotul dd').mouseover(function(){		    			    	
		    	$(this).find('.hidebox').animate({top:"0"},100);
		    	
		    }).mouseleave(function(){
		    	$(this).find('.hidebox').animate({top:"152px"},100);		    	
		    })
		   		    
		    $('#search').click(function(){
		    	if ($('.infodiv').css('width')=='0px') {
		    		$('.infodiv').animate({width:"100%"},200);
		    		$('.sanj').attr('src','${ctxStatic}/qxfw/tour/img/r_left.png');
		    		$('.sanj').css({'position':'absolute','left':'348px'});
		    	} else{		    				    		
		    		return;
		    	}		
		    });
		    
			
		    $('.sanj').click(function(){
		    	if ($('.infodiv').css('width')=='0px') {
		    		$('.infodiv').animate({width:"100%"},200);
		    		$(this).attr('src','${ctxStatic}/qxfw/tour/img/r_left.png');
		    		$(this).css({'position':'absolute','left':'348px'});
		    	} else{		    				    		
		    		$('.infodiv').animate({width:"0px"},200);
		    		$(this).attr('src','${ctxStatic}/qxfw/tour/img/r_right.png');
		    		$(this).css({'position':'absolute','left':'0'});
		    	}		    
		    });
		});
	</script>
</html>
